
package com.local.manager.push;

import java.util.List;

import com.cz073586.message.websocket356.push.PushManager;
import com.cz073586.message.websocket356.transfer.TransferVo;
import com.local.entity.vo.ParkwellPayBillVo;
import com.local.model.CarParkIn;
import com.qianhai.common.utils.Log4jUtil;

/** 
 * 类描述: 推送车出场计费信息.
 * @ClassName: PushCarOutBillInfoRunble 
 * @author Administrator
 * @date 2015年9月29日 下午7:16:04 
 */
public class PushCarInListInfoRunble implements Runnable
{
	
	private static Log4jUtil log = Log4jUtil.getLog4j(PushCarInListInfoRunble.class);
	private List<CarParkIn> carParkInLs;
	private ParkwellPayBillVo parkwellPayBillVo;
	
	
	public PushCarInListInfoRunble(List<CarParkIn> carParkInLs,ParkwellPayBillVo parkwellPayBillVo)
	{
		
		this.carParkInLs = carParkInLs;
		this.parkwellPayBillVo = parkwellPayBillVo;
	}




	@Override
	public void run()
	{
		
		try
		{
			TransferVo<List<CarParkIn>> trans = new TransferVo<List<CarParkIn>>();
			trans.setEventType("showCarInList");
			trans.setData(carParkInLs);
			trans.setKeyWord(parkwellPayBillVo.getCarNo());
			trans.setMarkString(parkwellPayBillVo.getStationUuid());
			PushManager.instance().pushMessage(trans);
		}catch(Throwable t)
		{
			log.error("", t);
		}
	}
	
}
